package com.scheduler.backend.enums;

/**
 * @author heimingz
 */
public enum ShiftType {
    // 早班
    MORNING,
    // 晚班
    EVENING,
    // 全天
    ALL_DAY,
    // 休息
    REST;

    // TODO
    public static String getTimeZone(ShiftType shiftType) {
        switch (shiftType){
            case MORNING:
                return "07:00-19:00";
            case EVENING:
                return "19:00-07:00";
            case ALL_DAY:
                return "00:00-24:00";
            case REST:
                return "00:00-00:00";
            default:
                return "";
        }
    }
}
